Skip to content

build: migrate from maven to gradle with run-paper - #21

Open
stdNullPtr wants to merge 1 commit into
masterfrom
build/gradle-run-paper
Open

stdNullPtr wants to merge 1 commit into
masterfrom
build/gradle-run-paper

Conversation

@stdNullPtr

Copy link
Copy Markdown
Owner

Switches the build from Maven to Gradle (Kotlin DSL, wrapper, toolchains) so local dev needs no global JDK or build tool.

  • ./gradlew runServer / runServerOldest start Paper 26.3 / 1.21.11 with the plugin, on the JetBrains Runtime for hotswap
  • Builds against paper-api 1.21.11 (Java 21): one jar for 1.21.11 and all 26.x
  • Version lives only in gradle.properties; paper-plugin.yml gets it at build time
  • CI, release-please (simple + gradle.properties) and Dependabot moved to Gradle

Verified locally: build passes; plugin enables on Paper 26.3 and 1.21.11. Not yet tested in-game.

Gradle wrapper and toolchains replace the global Maven/JDK setup, and
run-paper starts local Paper 26.3 and 1.21.11 test servers with the
plugin installed. Builds against paper-api 1.21.11 so one jar covers
1.21.11 and every 26.x server. The version now lives only in
gradle.properties; CI, release-please and Dependabot follow the switch.
@stdNullPtr stdNullPtr self-assigned this Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant